scrape the bottom of the barrel

Translations
prendre ce qu'il y a de pire
Definitions
To resort to the least desirable or lowest quality options available, often because all better alternatives have been exhausted.